Issue 5 - 09 September 2009 Go Back
If you are getting error Invalid OS Version and you can’t build or publish your application using Visual C# Express 2008 edition the simplest way to fix this problem is to set an explicit value for OSVersion in your project file.
The following shows all steps to add change to your C# project file:
You will have something like below:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<OSVersion />
…….
</PropertyGroup>
……..